<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="//cdn.bootcss.com/element-ui/1.2.5/theme-default/index.css" rel="stylesheet">    
    <link rel="stylesheet" href="dist/style.css?1490837364569">
</head>
<body>
    <div id="app">
        <component v-for="component in components" :is="component"></component>
    </div>
    <script src="//cdn.bootcss.com/vue/2.2.4/vue.min.js"></script>    
    <script src="//cdn.bootcss.com/element-ui/1.2.5/index.js"></script>    
    <script src="//cdn.bootcss.com/axios/0.15.3/axios.min.js"></script>
    <script src="dist/app.js?1490837364569"></script> 
    <script>
        var loadscripts = [
            "./custom.component.js"
        ];
        window.aun.onAppReady = function(self) {
            var scripttasks = loadscripts.map(function(v) {
                return window.aun.loadScript(v);
            });
            window.aun.onCreateComponentReady = function() {
                self.components.push(window.aun.lastcomponent);
            }      
            Promise.all(scripttasks).then(function() {
            }, function() {
            });
        }
        window.aun.createApp();
    </script>
</body>
</html>